# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=libwhich
pkgver=1.2.0
pkgrel=0
pkgdesc="Like which(1), but for dynamic libraries"
url="https://github.com/vtjnash/libwhich"
arch="all"
license="MIT"
checkdepends="sed zlib-dev"
source="https://github.com/vtjnash/libwhich/archive/v$pkgver/libwhich-$pkgver.tar.gz"

build() {
	make
}

check() {
	make check
}

package() {
	make install DESTDIR="$pkgdir"
}

sha512sums="
004d6a0a06e7486f51118fd02167e2f3c0757956bbe40448f1443c7f8eeb8d322cdae1e61e1169e75166fc16ef10528b893198faadfb9024f8c39453e4204616  libwhich-1.2.0.tar.gz
"
